﻿<?php

  ob_clean();

    $id = $_GET['id'];//获取地址栏中的参数名是Id的值
    $sql = "select * from `cate` where `id` = $id ";
    $result = mysqli_query($GLOBALS['link'],$sql);
    $data=mysqli_fetch_assoc($result);
    $cate=getcateedit($data);

    //视图加载页面
    include (VIEW_LAYER.'/admin/layout.html');
?>


